package org.vacoor.ticket.bean;

/*
 * 证件类型
 */
public enum CardType {
	SECOND_IDCARD("二代身份证","1"),FIRST_IDCARD("一代身份证","2"),
	HK_MC_CARD("港澳通行证","C"),TW_CARD("台湾通行证","G"),PASSPORT("护照","B");
	
	private String name;
	private String value;
	
	CardType(String name, String value) {
		this.name = name;
		this.value = value;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = value;
	}
	
	public String toString() {
		return "CardType" + "[" + name + ":" + value + "]";
	}
}
